home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Acao / bubble_tanks_2.swf / scripts / DefineButton2_501 / BUTTONCONDACTION on(release).as
Encoding:
Text File  |  2008-09-02  |  532 b   |  21 lines

  1. on(release){
  2.    if(_root.EnemiesSelected() == true)
  3.    {
  4.       _global.instShown = true;
  5.       _root.leftA.gotoAndPlay(16);
  6.       _root.rightA.gotoAndPlay(16);
  7.       _root.ico.gotoAndPlay(21);
  8.       _root.titleA.gotoAndPlay(16);
  9.       this.gotoAndPlay(16);
  10.       _parent.fid.gotoAndPlay(2);
  11.       _parent.blueish.gotoAndPlay(61);
  12.       _root.p1.gotoAndPlay(16);
  13.       _global.prevMenu = false;
  14.    }
  15.    else
  16.    {
  17.       _global.SoundManager.PlayBubbleSound("nocando");
  18.       _root.instruct1.gotoAndStop(4);
  19.    }
  20. }
  21.